Just installed Rtools35 with Admin rights and all options checked:
and running:
> Sys.which("ls.exe")
ls.exe
"C:\\Rtools\\bin\\ls.exe"
> Sys.which("gcc.exe")
gcc.exe
""
I also manually looked inside 'C:\Rtools\bin\' and gcc.exe is missing. Can't build packages.
Attempt using installr.
library(installr)
> install.rtools()
Loading required namespace: devtools
No need to install Rtools - You've got the relevant version of Rtools installed
Also, uninstalled, restarted and reinstalled just to be sure.
> sessionInfo()
R version 3.5.0 (2018-04-23)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United Kingdom.1252
[2] LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.0 tools_3.5.0 yaml_2.1.19
Related
I run memory.limit() on my 48G Windows 10 machine and it returned 1.759219e+13. This is head scratching. I am using R 3.6.1.
Is memory.limit() broken? Any other way to obtain memory limit?
Here is my sessionInfo():
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.1 tools_3.6.1
This is an issue with RStudio (hopefully fixed in the next update). It works well in RGui.
You can use disk.frame::df_ram_size() instead. It works on Windows 10 with RStudio and R 3.6.1.
You can install disk.frame using install.packages("disk.frame")
I have a shared computer. If I login with windows userA, I can run the following:
normalizePath("//mydrive/my/path", "/")
and it returns:
"\\\\mydrive/my/path"
However if login to windows under userB, I get this message:
Warning message: In normalizePath(path.expand(path), winslash,
mustWork) : path[1]="//mydrive/my/path": An unexpected network
error occurred
What does it mean? This has important consequences, as it prevents to add "//mydrive/my/path" to the .libPaths() when running under userB, e.g .libPaths(new="//mydrive/my/path"), it prints the same warning, then as soon as I try to use a package that is in this lib location, it show the ERROR:
Error in normalizePath(path.expand(path), winslash, mustWork) :
path[1]="//mydrive/my/path": An unexpected network error occurred
Here are the details of my session under userA:
> sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.2 tools_3.4.2
Here are the details of my session under userB:
> sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.2 tools_3.4.2
Finally, I also noticed the following warning on userB, which could be linked to the same issue:
WARNING: You are configured to use the CRAN mirror at
https://cran.rstudio.com/. This mirror supports secure (HTTPS)
downloads however your system is unable to communicate securely with
the server (possibly due to out of date certificate files on your
system). Falling back to using insecure URL for this mirror.
I've recently updated my Windows machine and reinstalled R3.4.0 (64bit) and igraph 1.0.1. I've previously used igraph in combination with FCMapper and it's worked perfectly.
On the new machine I keep getting the following error, even with code that previously worked without a hitch:
Error in base::.Call("R_igraph_check_finally_stack", PACKAGE =
"igraph") : "R_igraph_check_finally_stack" not available for
.Call() for package "igraph"
Error in base::.Call(.NAME, ...) : "R_igraph_finalizer" not
available for .Call() for package "igraph"
I've had a google and the previous responses indicate that it's a NAMESPACE error in the current version of the package. Any help would be appreciated!
sessionInfo()
R version 3.4.0 (2017-04-21) Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale: [1] LC_COLLATE=English_United Kingdom.1252
LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United
Kingdom.1252 [4] LC_NUMERIC=C
LC_TIME=English_United Kingdom.1252
attached base packages: [1] stats graphics grDevices utils
datasets methods base
other attached packages: [1] igraph_1.0.1 FCMapper_1.1
loaded via a namespace (and not attached): [1] compiler_3.4.0
magrittr_1.5 tools_3.4.0
I'm trying to read a stata file in R Studio using the following code:
library(foreign)
cdata = read.dta("http://www.ats.ucla.edu/stat/data/crime.dta")
summary(cdata)
However, the console is displaying the following error:
summary(cdata)
Error in summary(cdata) : object 'cdata' not found
Can anyone please help me out that why is this happening even though I'm just copying and pasting simple example from this link:
http://www.ats.ucla.edu/stat/r/dae/rreg.htm
Here's my sessioninfo():
sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] magrittr_1.5 htmltools_0.3.5 tools_3.3.1 Rcpp_0.12.7 stringi_1.1.1
[6] rmarkdown_1.0 knitr_1.14 stringr_1.1.0 digest_0.6.10 evaluate_0.9
Before a project is open, R rapidly throws this error:
Surprisingly, I do not find anything related to this error with google. Even if, apparently, it does not cause problems to the working session, I am interested in its effects, to avoid possible future inconveniences.
> sessionInfo()
R version 3.2.4 (2016-03-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
locale:
[1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_3.2.4
Here an example of the subsequent working directory, even if this behaviour occurs for any project I open. It does not occurs when opening an isolated script.
getwd()
[1] "C:/Users/MaurizioLocale/OneDrive/Data_Science/10_Capstone_project/CP_Natural_Language"