Closed liu-felix123 closed 1 year ago
Hi Liu
Can you send me a screenshot of what you did and how the "pc_tree" variable looks in R? Which tree point cloud did you use specifically? Did you use one in the /tests/non_buttressed_trees folder?
Cheers Louise
Van: liu-felix123 @.>
Verzonden: vrijdag 2 december 2022 10:01
Aan: lmterryn/ITSMe @.>
CC: Subscribed @.**>
Onderwerp: [lmterryn/ITSMe] Error in [[<-.data.frame
(`tmp*`, i, value = c(0, 1, 0, 1)) : (Issue #1)
Hi Louise,
i followed your step ,as below: step1 library(ITSMe) step2 pc_tree <- read_tree_pc(path = "path/to/point/cloud.txt") step3 out_dbh <- dbh_pc(pc = pc_tree, plot = TRUE)
step3 has a little problem, its show as below: "Error in [[<-.data.frame(tmp, i, value = c(0, 1, 0, 1)) :"
i used the cloud.txt which belong to your tests_point_cloud folder,named pc_tree.
when i add a new row to the cloud.txt,the step3 is pass. is it right do this? or other way to solve it
look foward rto eply,thanks.
- Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flmterryn%2FITSMe%2Fissues%2F1&data=05%7C01%7Clouise.terryn%40ugent.be%7C28a7cbbc47f6404521d608dad443b738%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638055684544604850%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VlpQKdFRqDFPwKw7Ue4CI69XtYMyWcD1VlO26eGkWhA%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPAT3O3H5SUHL22FDPUO5ATWLG3EHANCNFSM6AAAAAASRV4WIA&data=05%7C01%7Clouise.terryn%40ugent.be%7C28a7cbbc47f6404521d608dad443b738%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638055684544604850%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=TAay6cC4bngANns2cQQdGhNREvkKur0XEKS%2B0Suko%2Bs%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
sorry, the error“Error in [[<-.data.frame(tmp, i, value = c(0, 1, 0, 1)) :" cannot recurrence.maybe something is fixed. but its show a new problem,the screenshoot,as below:
Hi
I see you accidentally typed “pc_treepc_tree” instead of “pc_tree”. That explains why it doesn’t find “pc_tree”.
Cheers Louise
Van: liu-felix123 @.>
Verzonden: vrijdag 2 december 2022 12:34
Aan: lmterryn/ITSMe @.>
CC: Louise Terryn @.>; Comment @.>
Onderwerp: Re: [lmterryn/ITSMe] Error in [[<-.data.frame
(*tmp*
, i, value = c(0, 1, 0, 1)) : (Issue #1)
sorry, the error“Error in [[<-.data.frame(tmp, i, value = c(0, 1, 0, 1)) :" cannot recurrence.maybe something is fixed. but its show a new problem,the screenshoot,as below: [1ON73NU3QWHFVMOM{PLT03]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F100141618%2F205283247-f7eabf3c-a190-4c3f-9295-14a6a38f9d74.png&data=05%7C01%7Clouise.terryn%40ugent.be%7C1c4f703e092e47ed4e7a08dad4591e79%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638055776481153050%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dDSjifE7MKke6TIR5M5runwUr3qNBpR6NxOA4oxiY6c%3D&reserved=0
- Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flmterryn%2FITSMe%2Fissues%2F1%23issuecomment-1335111886&data=05%7C01%7Clouise.terryn%40ugent.be%7C1c4f703e092e47ed4e7a08dad4591e79%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638055776481153050%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XBhpEzMj9iVBbS8UIso%2FqKtpHZdsrV6sDAvqYZxGzXY%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPAT3O3LQC3YK3XC6DZARNLWLHNCZANCNFSM6AAAAAASRV4WIA&data=05%7C01%7Clouise.terryn%40ugent.be%7C1c4f703e092e47ed4e7a08dad4591e79%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638055776481153050%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7ut6FR56DTsn3mTRGud65XeHdelKBVk7SVPxl%2BTmut0%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>
a oh, thank you I entered it correctly,The error reappears
variable looks in R as belows:
Hi
You are showing me the “pc_treepc_tree” variable which is not equal to to the “pc_tree” variable. If you read in the pc_tree.txt point cloud your variable should look like this: @.***
Cheers Louise
Van: liu-felix123 @.>
Verzonden: zondag 4 december 2022 7:31
Aan: lmterryn/ITSMe @.>
CC: Louise Terryn @.>; Comment @.>
Onderwerp: Re: [lmterryn/ITSMe] Error in [[<-.data.frame
(*tmp*
, i, value = c(0, 1, 0, 1)) : (Issue #1)
a oh, thank you I entered it correctly,The error reappears
variable looks in R as belows:
刘芳宏 @.<mailto:@.>
------------------ 原始邮件 ------------------
发件人: "lmterryn/ITSMe" @.><mailto:@.>>;;
发送时间: 2022年12月2日(星期五) 晚上8:07
@.><mailto:@.>>;;
@.**@.>mailto:***@***.******@***.***>;
主题: Re: [lmterryn/ITSMe] Error in [[<-.data.frame
(*tmp*
, i, value = c(0, 1, 0, 1)) : (Issue #1)
Hi
I see you accidentally typed “pc_treepc_tree” instead of “pc_tree”. That explains why it doesn’t find “pc_tree”.
Cheers Louise
Van: liu-felix123 @.><mailto:@.>>;
Verzonden: vrijdag 2 december 2022 12:34
Aan: lmterryn/ITSMe @.><mailto:@.>>;
CC: Louise Terryn @.><mailto:@.>>;; Comment @.><mailto:@.>>;
Onderwerp: Re: [lmterryn/ITSMe] Error in [[<-.data.frame
(*tmp*
, i, value = c(0, 1, 0, 1)) : (Issue #1)
sorry, the error“Error in [[<-.data.frame(tmp, i, value = c(0, 1, 0, 1)) :" cannot recurrence.maybe something is fixed. but its show a new problem,the screenshoot,as below: [1ON73NU3QWHFVMOM{PLT03]<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F100141618%2F205283247-f7eabf3c-a190-4c3f-9295-14a6a38f9d74.png&data=05%7C01%7Clouise.terryn%40ugent.be%7C1c4f703e092e47ed4e7a08dad4591e79%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638055776481153050%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=dDSjifE7MKke6TIR5M5runwUr3qNBpR6NxOA4oxiY6c%3D&reserved=0>
- Reply to this email directly, view it on GitHub<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flmterryn%2FITSMe%2Fissues%2F1%23issuecomment-1335111886&data=05%7C01%7Clouise.terryn%40ugent.be%7C1c4f703e092e47ed4e7a08dad4591e79%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638055776481153050%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XBhpEzMj9iVBbS8UIso%2FqKtpHZdsrV6sDAvqYZxGzXY%3D&reserved=0>, or unsubscribe<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPAT3O3LQC3YK3XC6DZARNLWLHNCZANCNFSM6AAAAAASRV4WIA&data=05%7C01%7Clouise.terryn%40ugent.be%7C1c4f703e092e47ed4e7a08dad4591e79%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638055776481153050%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7ut6FR56DTsn3mTRGud65XeHdelKBVk7SVPxl%2BTmut0%3D&reserved=0>. You are receiving this because you commented.Message ID: @.**@.>>
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
— Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flmterryn%2FITSMe%2Fissues%2F1%23issuecomment-1336332953&data=05%7C01%7Clouise.terryn%40ugent.be%7C03f038f6e7554470e54608dad5c12ea2%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638057322934091461%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kceY9zRnsMopJpmz4MxNwOPp3jRGRW7KyfX4WpBx%2Fz8%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPAT3O6XEDYOWHDEWGAVKHTWLQ3EDANCNFSM6AAAAAASRV4WIA&data=05%7C01%7Clouise.terryn%40ugent.be%7C03f038f6e7554470e54608dad5c12ea2%7Cd7811cdeecef496c8f91a1786241b99c%7C1%7C0%7C638057322934091461%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KxewEyC4LA8S1joO480Kmlr%2BflQ7DTAH6W7F21m2w8Q%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>
like what? the screenshot seems to loss.could you send the screenshot again? ok ,iknow you mean, i indeed select wrong PC_Tree .txt
the error still exist
depend on error ,My understand is data.frame need 4 rows of data ,but the read .txt has three.so its conflict
I found that the problem was with updated packages ITSMe depends on. I think I fixed the problem. Try removing and installing the package again and let me know if you still get that error.
Cheers Louise
thank you, its passed. but the fit plot not show.
刘芳宏 @.***
------------------ 原始邮件 ------------------
发件人: "lmterryn/ITSMe" @.>;
发送时间: 2022年12月6日(星期二) 凌晨4:01
@.>;
@.**@.>;
主题: Re: [lmterryn/ITSMe] Error in [[<-.data.frame
(*tmp*
, i, value = c(0, 1, 0, 1)) : (Issue #1)
I found that the problem was with updated packages ITSMe depends on. I think I fixed the problem. Try removing and installing the package again and let me know if you still get that error.
Cheers Louise
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Yes it does not automatically print the figure now. But you can see the figure by accessing the plot from the output: out_dbh <- dbh_pc(pc = pc_tree, plot = TRUE) out_dbh$plot
its worked. thanks for your carefully instructor
Best Regards Felix Liu
刘芳宏 @.***
------------------ 原始邮件 ------------------
发件人: "lmterryn/ITSMe" @.>;
发送时间: 2022年12月6日(星期二) 晚上7:24
@.>;
@.**@.>;
主题: Re: [lmterryn/ITSMe] Error in [[<-.data.frame
(*tmp*
, i, value = c(0, 1, 0, 1)) : (Issue #1)
Yes it does not automatically print the figure now. But you can see the figure by accessing the plot from the output: out_dbh <- dbh_pc(pc = pc_tree, plot = TRUE) out_dbh$plot
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Hi Louise,
i followed your step ,as below: step1 library(ITSMe) step2 pc_tree <- read_tree_pc(path = "path/to/point/cloud.txt") step3 out_dbh <- dbh_pc(pc = pc_tree, plot = TRUE)
step3 has a little problem, its show as below: "Error in
[[<-.data.frame
(*tmp*
, i, value = c(0, 1, 0, 1)) :"i used the cloud.txt which belong to your tests_point_cloud folder,named pc_tree.
when i add a new row to the cloud.txt,the step3 is pass. is it right do this? or other way to solve it
look foward to reply,thanks.