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: NAs introduced by coercion to integer range #114

Closed
flying-sheep opened this issue Jul 16, 2019 · 1 comment · Fixed by #166
Closed

Error: NAs introduced by coercion to integer range #114

flying-sheep opened this issue Jul 16, 2019 · 1 comment · Fixed by #166
Labels

Comments

@flying-sheep
Copy link

I have a rather large .Rprof file that isn’t read properly. Example line:

memory profiling: GC profiling: line profiling: sample.interval=10000
...
:6811704:2681846801:633005352:385:"%in%" "which" "FUN" "lapply" "sapply" "smth.gaussian" "FUN" "apply" "gene_relevance_impl" "gene_relevance" "gene_relevance" "force" "doTryCatch" "tryCatchOne" "tryCatchList" "doTryCatch" "tryCatchOne" "tryCatchList" "tryCatch" "profvis::profvis" "eval" "eval" "withVisible" "withCallingHandlers" "doTryCatch" "tryCatchOne" "tryCatchList" "tryCatch" "try" "handle" "timing_fn" "evaluate_call" "evaluate" "doTryCatch" "tryCatchOne" "tryCatchList" "doTryCatch" "tryCatchOne" "tryCatchList" "tryCatch" "executor$execute" "handle_shell" "kernel$run" "IRkernel::main" 
...

I assume you try to convert the numbers between the colons to integers, but they are too big.

@lionel- lionel- added the bug label Nov 16, 2020
@hadley
Copy link
Member

hadley commented Aug 21, 2024

Presumably we can just replace the calls to as.integer() to as.double()

hadley added a commit that referenced this issue Aug 22, 2024
hadley added a commit that referenced this issue Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants