Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Radix articles cannot be previewed in this version of RStudio. #18

Closed
slfan2013 opened this issue Sep 21, 2018 · 17 comments
Closed

Comments

@slfan2013
Copy link

slfan2013 commented Sep 21, 2018

Please update to version 1.2.718 or higher at https://www.rstudio.com/products/rstudio/download/preview/

My version RStudio is "Version 1.2.1004", but I still got this error.

I think the error is because of the code
if (rstudio$version < "1.2.718")

Truly, the "1.2.1004"< "1.2.718" is TRUE, which shouldn't be.

@jjallaire
Copy link
Member

So if you execute the following from the console do you get the error:

radix:::validate_rstudio_version()

Then, what is the output of rstudioapi::versionInfo()$version ?

@slfan2013
Copy link
Author

Hi, the radix:::validate_rstudio_version() does not give any error.

rstudioapi::versionInfo()$version output is ‘1.2.1004’

@hushuli
Copy link

hushuli commented Sep 22, 2018

Please update to version 1.2.718 or higher at https://www.rstudio.com/products/rstudio/download/preview/

My version RStudio is "Version 1.2.1004", but I still got this error.

I think the error is because of the code
if (rstudio$version < "1.2.718")

Truly, the "1.2.1004"< "1.2.718" is TRUE, which shouldn't be.

So if you execute the following from the console do you get the error:

radix:::validate_rstudio_version()

Then, what is the output of rstudioapi::versionInfo()$version ?

I got the same error.

@yutannihilation
Copy link

Truly, the "1.2.1004"< "1.2.718" is TRUE, which shouldn't be.

I think we should use package_version().

"1.2.1004" < "1.2.718"
#> [1] TRUE
package_version("1.2.1004") < package_version("1.2.718")
#> [1] FALSE

Created on 2018-09-22 by the reprex package (v0.2.1)

@randomgambit
Copy link

same error for me fellas

@jjallaire
Copy link
Member

Now I see, the rollover of the RStudio Preview version to 4 digits ("1004") is what is making this fail. Fix is checked in here: rstudio/radix@1f08dda

To install the fixed version:

devtools::install_github("rstudio/radix")

@randomgambit
Copy link

@jjallaire haha not so fast!


> devtools::install_github("rstudio/radix")
Downloading GitHub repo rstudio/radix@master
from URL https://api.github.com/repos/rstudio/radix/zipball/master
Installation failed: cannot open file 'C:/Users/john/AppData/Local/Temp/RtmpOcnWHZ/devtools6348504b600a/rstudio-radix-c3dba83/examples/websites/reproducible-finance-with-r/_posts/2017-03-07-quandl-and-forecasting/quandl-and-forecasting_files/dygraphs-binding-1.1.1.4/lib/dygraphs/dygraph-combined-dev.js': No such file or directory

@yutannihilation
Copy link

Curious. I see the same error on my Windows.

cannot open file 'C:/Users/john/AppData/Local/Temp/RtmpOcnWHZ/devtools6348504b600a/rstudio-radix-c3dba83/examples/websites/reproducible-finance-with-r/_posts/2017-03-07-quandl-and-forecasting/quandl-and-forecasting_files/dygraphs-binding-1.1.1.4/lib/dygraphs/dygraph-combined-dev.js': No such file or directory

This seems an error in utils::unzip(). Maybe there's a limit of path length? (Only on Windows...?)
I don't think radix is responsible for fixing this, but I guess considerable numbers of people will face this. Wish there's a nice workaround for this...

@yutannihilation
Copy link

I guess r-lib/remotes#84 is (though this seems mistakenly closed...)

Anyway, this issue is definitely fixed. We should file a new issue if we want to continue the discussion.

@jjallaire
Copy link
Member

Okay, I just removed that example site from the main repository (it was indeed an issue with path lengths and unzip)

@yutannihilation
Copy link

Thanks @jjallaire, I confirmed I can install the current master!

@geneorama
Copy link

Seems like it would be nice to update the blog post, and tutorial to say that you need a preview version of RStudio and to install radix from github.

I came here from the newsletter a few days ago, which I finally got around to trying.

@jjallaire
Copy link
Member

Yes, both have been updated

@davidRCF
Copy link

Hi,

i try to work with radix package, i get this error:

Error: Radix requires RStudio v1.2 or greater. Please update at: https://www.rstudio.com/rstudio/download/preview/

when i try to install new versioon of rstudio,i can not.

any idea?
thx
David

@jjallaire
Copy link
Member

You need to provide more details than "when i try to install new versioon of rstudio,i can not".

We have thousands of people successfully install every day so there is not a general problem with installation. We need to know specifically what is going wrong during installation. Failures to install RStudio are also better reported at https://github.com/rstudio/rstudio/issues

@dsaada
Copy link

dsaada commented Sep 26, 2018

I'm sorry, it's error was on my side. Radix work fine now.
many thanks
David

@aslm123
Copy link

aslm123 commented Nov 7, 2018

This worked for me r-lib/remotes#84 (comment). It opens a download list to choose and if you already have digest installed then you will want to skip that in the option to download. Afterwards Radix worked on my computer. This was the only suggestion that worked on my computer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants