-
Notifications
You must be signed in to change notification settings - Fork 13
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
get_ram
not working on Windows 10
#25
Comments
Could you run
and tell me what that returns? |
|
Thanks. Do you 16Gb of RAM or 4 * 16GB? |
4 * 16G |
I also get |
this works for me system('grep MemTotal /proc/meminfo', intern = TRUE)
l = strsplit(a, " ")[[1]]
l = as.numeric(l[length(l)-1])
ram_size = l/1024^2 In fact, I have used this in the disk.frame package. |
@xiaodaigh Does that work under windows 7 and 10? |
Windows 10 but haven't tested on Windows 7. |
Thanks everyone. I've added the method proposed by @xiaodaigh and used the previous method as a fallback. |
I am also having the same problem where Get_ram() produces “NA B” I used your code:
With an output of: "Capacity \r" "17179869184 \r" "17179869184 \r" “\r” This checks out since I have two 16 gb chips. |
I run into the same problem under windows 10 with package version 1.0.7 |
Same here under Windows 10, package version 1.0.7, and R version 4.1.0 |
When I run
get_ram
it returnsNA B
.Here is my
sessionInfo()
The text was updated successfully, but these errors were encountered: